WeglotWP\Services\Generate_Switcher_Service_Weglot S

Total Complexity 21
Dependencies 5
Dependents 2
Total lines 154
Lines of code 76
Logical lines of code 49
Comment lines 53
Methods 6
Properties 4

Methods 6

Method Rating Maintainability Complexity Lines of code
render_switcher_editor_button()
A
44 11 42
render_default_button()
S
65 3 8
generate_switcher_from_dom()
S
64 3 9
replace_div_id()
S
66 2 8
__construct()
S
70 1 6
check_weglot_menu()
S
79 1 3